﻿namespace WebSocketGateway.Config
{
    /// <summary>
    /// WebSocket 配置
    /// </summary>
    internal class DefSocketConfig
    {
        /// <summary>
        /// 请求编码
        /// </summary>
        public string RequestEncoding
        {
            get;
            set;
        } = "utf-8";
        /// <summary>
        /// 生成API访问路径格式
        /// </summary>
        public string ApiRouteFormat
        {
            get;
            set;
        } = "/api/{controller}/{name}";
    }
}
